package com.jackwoo.jerrymouse.util;

/**
 * Author: StupidZhe
 * Date: 2019/11/19
 * Desc:
 **/
public class ClassUtil {


    public static ClassStruct resolveClass(byte[] clazz) {
        return null;
    }

    /**
     *
     */
    public static boolean classCheck(byte[] clazz, String extendName) {
        return true;

//        ClassStruct struct = resolveClass(clazz);
//        if (struct.parentName.equalsIgnoreCase(extendName)) {
//            return true;
//        }
//        return false;
    }


//    public static void

}

// class文件格式
class ClassStruct {
    int magicNumber;
    int version;
    String parentName;

}